<h2 class="ngdialog-title">查看</h2>
<div class="ngdialog-main">
    <table class="w-100 table table-bordered tabInfo">
        <tr>
            <th colspan="4" style="text-align: center">会员信息</th>
        </tr>
        <tr>
            <th colspan="1">账号:</th>
            <td colspan="1">{{detailData.phone}}</td>
            <th colspan="1">昵称:</th>
            <td colspan="1">{{detailData.nickname}}</td>
        </tr>
        <tr>
            <th colspan="1">性别:</th>
            <td colspan="1">{{detailData.gender ? '男' : '女'}}</td>
            <th colspan="1">注册时间:</th>
            <td colspan="1">{{detailData.registerTime}}</td>
        </tr>
        <tr>
            <th colspan="1">最后登录:</th>
            <td colspan="1">{{detailData.lastLoginTime}}</td>
            <th colspan="1">来源</th>
            <td colspan="1">{{detailData.source}}</td>
        </tr>
        <tr>
            <th colspan="1">账户余额:</th>
            <td colspan="1">{{detailData.balance}} <a class="changeit" ng-click="changeBalance(detailData.id,detailData.nickname)" href="javascript:;">调整</a></td>
            <th colspan="1"></th>
            <td colspan="1"></td>
        </tr>
    </table>

    <table class="w-100 table table-bordered tabInfo mt-10">
        <tr>
            <th colspan="4" style="text-align: center">认证信息</th>
        </tr>
        <tr>
            <th colspan="1">真是姓名:</th>
            <td colspan="1">{{detailData.name}}</td>
            <th colspan="1">身份证号:</th>
            <td colspan="1">{{detailData.idCarNo}}</td>
        </tr>
        <tr>
            <th colspan="1">手机:</th>
            <td colspan="1">{{detailData.phone}}</td>
            <th colspan="1">认证时间:</th>
            <td colspan="1">{{detailData.auditTime}}</td>
        </tr>
    </table>
    <table class="w-100 table table-bordered tabInfo mt-10">
        <tr>
            <th colspan="4" style="text-align: center">分销信息</th>
        </tr>
        <tr>
            <th colspan="1">销售总额:</th>
            <td colspan="1">{{detailData.totalSales}}</td>
            <th colspan="1">佣金总额</th>
            <td colspan="1">{{detailData.totalCommission}}</td>
        </tr>
        <tr>
            <th colspan="1">已经提现佣金:</th>
            <td colspan="1">{{detailData.totalCommission - detailData.commission}}</td>
            <th colspan="1">可提现佣金:</th>
            <td colspan="1">{{detailData.commission}}</td>
        </tr>
        <tr>
            <th colspan="1">一级会员数:</th>
            <td colspan="1">{{detailData.lv1}}</td>
            <th colspan="1">二级会员数</th>
            <td colspan="1">{{detailData.lv2}}</td>
        </tr>
        <tr>
            <th colspan="1">失败原因:</th>
            <td colspan="3">{{viewData.auditlog}}</td>
        </tr>
    </table>
    <div class="mt-10 clearfix ta-c">
        <a href="{{detailData.idCarImage1}}" target="_blank" class="f-l w-50 pr-5">
            <img ng-src="{{detailData.idCarImage1}}" width="100%">
            <p class="mt-10">正面</p>
        </a>
        <a href="{{detailData.idCarImage1}}" target="_blank" class="f-l w-50 pl-5">
            <img ng-src="{{detailData.idCarImage0}}" width="100%">
            <p class="mt-10">反面</p>
        </a>
    </div>
</div>

<style>
    .tabInfo th{
        text-align: right;
        width: 20%;
        background: #f1f1f1;
    }
    .ngdialog-main{
        padding-top: 0;
        max-height: 450px;
        overflow-y: auto;
    }
    .tabInfo .changeit{
        color: #30A5FF;
    }
</style>